//
//  ViewController.h
//  Alarm3DExperiments2
//
//  Created by 우성 김 on 12. 3. 29..
//  Copyright (c) 2012년 yy01ar@gmail.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>

typedef enum {
    kEDSupportedMediaTypeAAC = 'aac ',
    kEDSupportedMediaTypeMP3 = '.mp3'
} EDSupportedMediaType;

@interface ViewController : UIViewController <MPMediaPickerControllerDelegate>
{
    AVAudioPlayer* audioPlayer;
    MPMoviePlayerController * player;
    MPMusicPlayerController * musicPlayer;
    
//    NSString *pid;
    NSNumber *pid;
    UIBackgroundTaskIdentifier bgTask;
}

@property (assign, nonatomic) IBOutlet UISlider *uislider;
@property (assign, nonatomic) IBOutlet UISlider *uislider2;

@end
